//-----------------------------------------------------------------------
// <copyright file="LearningStandardItemAssociation.cs" company="Procure Development">
//     Copyright (c) Procure Development. All rights reserved.
// </copyright>
// <author>Victor Procure</author>
//-----------------------------------------------------------------------

using System;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace SManagement.Models
{
    /// <summary>
    /// An entity that relates learning standard items to other learning standard items to support
    /// competency maps using competency to prerequisite-competency assertions, and to relate
    /// learning standard Items to other objects such as learning resources.
    /// </summary>
    public class LearningStandardItemAssociation
    {
        #region Instance Properties

        [BsonId]
        public ObjectId _id { get; set; }

        public ObjectId LearningStandardItemId { get; set; }

        public ObjectId RefEntityTypeId { get; set; }

        public ObjectId AssociatedEntityId { get; set; }

        public ObjectId? RefLearningStandardItemAssociationTypeId { get; set; }

        public string LearningStandardItemAssociationIdentifierURI { get; set; }

        public string ConnectionCitation { get; set; }

        public string OriginNodeName { get; set; }

        public string OriginNodeURI { get; set; }

        public string DestinationNodeName { get; set; }

        public string DestinationNodeURI { get; set; }

        public decimal? Weight { get; set; }

        #endregion Instance Properties
}

}